package com.sdhs.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sdhs.common.annotation.Excel;
import lombok.Data;
import com.sdhs.common.core.domain.BaseEntity;

/**
 * 合同中间表对象 gc_contract_middle
 *
 * @author add
 * @date 2025-04-04
 */
@Data
public class GcContractMiddle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 关联相对方 */
    @Excel(name = "关联相对方")
    private String partyId;

    /** 关联合同 */
    @Excel(name = "关联合同")
    private String contractId;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("partyId", getPartyId())
            .append("contractId", getContractId())
            .toString();
    }
}
